body,ul,li{
    margin: 0;
    padding: 0;
}

body{
    min-width: 1200px;
}
/*=====================================顶部=============================================*/
.nav{
    width: 100%;
    height: 58px;
    min-width: 1500px;
    background-color: white;
}

/*图片logo*/
.nav .head-logo{
    width: 120px;
    height: 34px;
    /* background-color: skyblue;*/
    position: relative; /*相对原来的位置*/
    top:12px;
    margin-left: 120px;
    margin-right: 20px;
    float: left;

}

.nav .head-logo a{
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url("../../image/logo.jpg");
    background-size: cover;
}



/*导航*/
.nav .head-nav{
    width: 726px;
    height: 100%;
    /*background-color: sandybrown;*/
    float: left;
    min-width: 750px;

}

.head-nav ul{
    list-style: none; /*去除小黑点*/
    height: 100%;
}
.head-nav ul li{
    float: left;  /*每个li 不换行*/
    width: 90px;
    height: 100%;
    border-right:1px solid white ;
    /*  background-color: springgreen;*/
}

/*设置 导航每个菜单的超链接a 宽度高度：
    a ： 本身是 行内元素  --- 转换成 行内块级元素
*/
.head-nav ul li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    /* background-color: salmon;*/
    color: #393939;
    text-align: center;   /*水平居中*/
    line-height: 58px;   /*垂直居中*/
    text-decoration: none; /*去除下划线*/
    font-size: 14px;
}

/*导航第一个菜单的样式*/
.head-nav ul li:first-child{
    background-color: deepskyblue;

}

.head-nav ul li a.first-item{
    color: white;
}

.head-nav ul li a.first-item:hover{
    background-color: deepskyblue;
    color: white;
    border: none;
}


.head-nav ul li a:hover{
    color:deepskyblue;
    border-bottom: 2px solid deepskyblue;
}



/*登录*/
/*登录区域*/
.nav .head-login{
    width: 300px;
    height: 100%;
    margin-left: 150px;
    float: right;
}

.head-login a{
    display: inline-block;
    width: 100px;
    height: 26px;

    margin-top: 16px/*距离top 16px*/
}


.head-login .login-logo{ /*span 行内元素*/
    display: block;
    float: left;
    width: 26px;
    height: 26px;
    /* background-color: springgreen;*/

}
.head-login .regist-logo{ /*span 行内元素*/
    display: block;
    float: left;
    width: 26px;
    height: 26px;
    /* background-color: springgreen;*/

}
.head-login .login-title{
    display: block;
    float: left;
    width: 50px;
    height: 26px;
    font-size: 10px;
    color: black;
    line-height: 26px;
    text-align: center;
    /* background-color: yellow;*/
}
/*=====================================main=============================================*/
.main{
    width:90% ;
    height: 600px;
    margin: auto;
}
/* 标题*/
.main .coupon-titel{
    margin-top: 36px;
    width: 100%;
    height:36px ;
    margin-bottom: 48px;
}
.main .coupon-titel label{
    color: #383434;
    font-size: 24px;
    font-weight: bold;
    line-height: 36px;
}

/*左侧页面切换*/
.main .main_left{
    height: 480px;
    width: 60%;
    float: left;
}
/*标题*/

.coupon-context{
    width: 100%;
    height: 600px;
}

.coupon-context #first-item ul{
    width: 100%;
    height: 160px;
}
/*第一个切换页面*/
.coupon-context #first-item .coupon_first{
    width: 100%;
    height: 160px;
    border-radius: 10px;
}

#first-item .coupon_first .coupon_top{
    height: 130px;
    width: 100%;
    border: 1px solid gainsboro;
    border-top-left-radius: 10px;
    border-top-right-radius:10px ;
}
#first-item .coupon_first .coupon_top .coupon_top_left{
    width: 100px;
    height: 100%;
    float: left;
    border-top-left-radius: 10px;
    background-color: deepskyblue;
}
.coupon_first .coupon_top .coupon_top_left .coupon_mark{
    line-height: 130px;
    margin-left: 20px;
    color: white;
}
.coupon_first .coupon_top .coupon_top_left .coupon_number{
    line-height: 130px;
    font-size: 24px;
    color: white;
}
#first-item .coupon_first .coupon_top .coupon_top_center{
    width:240px ;
    height: 100%;
    float: left;
    padding-left: 20px;
    margin-bottom: 10px;
}
.coupon_first .coupon_top .coupon_top_center .coupon_name{
    width: 100%;
    height: 30px;
    float: left;
    line-height: 30px;
    color: #605656;
    font-size: 14px;
    font-weight: bold;
}
.coupon_first .coupon_top .coupon_top_center .coupon_rule{
    width: 100%;
    height: 20px;
    float: left;
    line-height: 20px;
    font-size: 14px;
    color: #605656;
}
.coupon_first .coupon_top .coupon_top_center .coupon_symbol{
    width: 50px;
    height: 25px;
    float: left;
    line-height: 25px;
    color: red;
    font-size: 10px;
    border-radius: 15px;
    border: 1px solid red;
    text-align: center;
    margin-top: 5px;
}
#first-item .coupon_first .coupon_top .coupon_date{
    margin-top: 10px;
    width:70px;
    height: 100%;
    float: left;
    font-size: 8px;
    text-align: center;
}
#first-item .coupon_first .coupon_top .coupon_top_right{
    width: 70px;
    height: 100%;
    float: right;
    margin-right: 20px;
    line-height: 70px;
}
#first-item .coupon_first .coupon_top .coupon_top_right a{

    text-decoration: underline;
}
.coupon_footer{
   width: 100%;
    height: 20px;
    border: 1px solid gainsboro;
}
.coupon_footer span{
    font-size: 10px;
    color: #605656;
}
/*第二个切换页面*/
.coupon-context #two-item  ul{
    width: 100%;
    height: 600px;
}
.coupon-context #two-item li{
    width: 100%;
    height: 160px;
}
#two-item .coupon_info1 .coupon_first {
    width: 100%;
    height: 160px;
    border-radius: 10px;
}

.coupon_info1 .coupon_first .coupon_top {
    height: 130px;
    width: 100%;
    border: 1px solid gainsboro;
    border-top-left-radius: 10px;
    border-top-right-radius:10px ;
}
.coupon_info1 .coupon_first .coupon_top .coupon_top_left {
    display:block;
    width: 100px;
    height: 100%;
    float: left;
    border-top-left-radius: 10px;
    background-color: #666262;
}
.coupon_first .coupon_top .coupon_top_left .coupon_mark  {
    line-height: 130px;
    margin-left: 20px;
    color: white;
}
.coupon_first .coupon_top .coupon_top_left .coupon_number  {
    line-height: 130px;
    font-size: 24px;
    color: white;
}
.coupon_info1 .coupon_first .coupon_top .coupon_top_center{
    display:block;
    width:240px ;
    height: 100%;
    float: left;
    padding-left: 20px;
    margin-bottom: 10px;
}
.coupon_first .coupon_top .coupon_top_center .coupon_name{
    display:block;
    width: 100%;
    height: 30px;
    float: left;
    line-height: 30px;
    color: #605656;
    font-size: 14px;
    font-weight: bold;
}
.coupon_first .coupon_top .coupon_top_center .coupon_rule{
    display:block;
    width: 100%;
    height: 20px;
    float: left;
    line-height: 20px;
    font-size: 14px;
    color: #605656;
}
.coupon_first .coupon_top .coupon_top_center .coupon_symbol{
    display:block;
    width: 50px;
    height: 25px;
    float: left;
    line-height: 25px;
    color: red;
    font-size: 10px;
    border-radius: 15px;
    border: 1px solid red;
    text-align: center;
    margin-top: 5px;
}
.coupon_first .coupon_top .coupon_date{
    display:block;
    margin-top: 10px;
    width:70px;
    height: 100%;
    float: left;
    font-size: 8px;
    text-align: center;
}
.coupon_first .coupon_top .coupon_top_right{
    display:block;
    width: 70px;
    height: 100%;
    float: right;
    margin-right: 20px;
    line-height: 70px;
}
.coupon_first .coupon_top .coupon_top_right a{
    text-decoration: underline;
}
.coupon_footer{
    width: 100%;
    height: 20px;
    border: 1px solid gainsboro;
}
.coupon_footer span{
    font-size: 10px;
    color: #605656;
}
/*第三个切换页面*/
.coupon-context #third-item  ul{
    width: 100%;
    height: 600px;
}
.coupon-context #third-item li{
   width: 100%;
    height: 160px;
}
#third-item .coupon_info .coupon_first {
    width: 100%;
    height: 160px;
    border-radius: 10px;
}

.coupon_info .coupon_first .coupon_top {
    height: 130px;
    width: 100%;
    border: 1px solid gainsboro;
    border-top-left-radius: 10px;
    border-top-right-radius:10px ;
}
.coupon_info .coupon_first .coupon_top .coupon_top_left {
    display:block;
    width: 100px;
    height: 100%;
    float: left;
    border-top-left-radius: 10px;
    background-color: #b4acac;
}
.coupon_first .coupon_top .coupon_top_left .coupon_mark  {
    line-height: 130px;
    margin-left: 20px;
    color: white;
}
.coupon_first .coupon_top .coupon_top_left .coupon_number  {
    line-height: 130px;
    font-size: 24px;
    color: white;
}
.coupon_info .coupon_first .coupon_top .coupon_top_center{
    display:block;
    width:240px ;
    height: 100%;
    float: left;
    padding-left: 20px;
    margin-bottom: 10px;
}
.coupon_first .coupon_top .coupon_top_center .coupon_name{
    display:block;
    width: 100%;
    height: 30px;
    float: left;
    line-height: 30px;
    color: #605656;
    font-size: 14px;
    font-weight: bold;
}
.coupon_first .coupon_top .coupon_top_center .coupon_rule{
    display:block;
    width: 100%;
    height: 20px;
    float: left;
    line-height: 20px;
    font-size: 14px;
    color: #605656;
}
.coupon_first .coupon_top .coupon_top_center .coupon_symbol{
    display:block;
    width: 50px;
    height: 25px;
    float: left;
    line-height: 25px;
    color: red;
    font-size: 10px;
    border-radius: 15px;
    border: 1px solid red;
    text-align: center;
    margin-top: 5px;
}
.coupon_first .coupon_top .coupon_date{
    display:block;
    margin-top: 10px;
    width:70px;
    height: 100%;
    float: left;
    font-size: 8px;
    text-align: center;
}
 .coupon_first .coupon_top .coupon_top_right{
     display:block;
    width: 70px;
    height: 100%;
    float: right;
    margin-right: 20px;
    line-height: 70px;
}
.coupon_first .coupon_top .coupon_top_right a{
    text-decoration: underline;
}
.coupon_footer{
    width: 100%;
    height: 20px;
    border: 1px solid gainsboro;
}
.coupon_footer span{
    font-size: 10px;
    color: #605656;
}
/*第四个切换页面*/
.coupon-context #four-item .coupon_first{
    width: 100%;
    height: 160px;
    border-radius: 10px;
}
#four-item .coupon_first .coupon_top{
    height: 130px;
    width: 100%;
    border: 1px solid gainsboro;
    border-top-left-radius: 10px;
    border-top-right-radius:10px ;
}
#four-item .coupon_first .coupon_top .coupon_top_left{
    width: 100px;
    height: 100%;
    float: left;
    border-top-left-radius: 10px;
    background-color: #0d3b7f;
}
.coupon_first .coupon_top .coupon_top_left .coupon_mark{
    line-height:130px;
    margin-left: 20px;
    color: white;
}
.coupon_first .coupon_top .coupon_top_left .coupon_number{
    line-height: 130px;
    font-size: 24px;
    color: white;
}
#four-item .coupon_first .coupon_top .coupon_top_center{
    width:240px ;
    height: 100%;
    float: left;
    padding-left: 20px;
    margin-bottom: 10px;
}
.coupon_first .coupon_top .coupon_top_center .coupon_name{
    width: 100%;
    height: 45px;
    float: left;
    line-height: 45px;
    color: #605656;
    font-size: 14px;
    font-weight: bold;
}
.coupon_first .coupon_top .coupon_top_center .coupon_rule{
    width: 100%;
    height: 30px;
    float: left;
    line-height:30px;
    font-size: 14px;
    color: #605656;
}
#four-item .coupon_first .coupon_top .coupon_top_right{
    width: 70px;
    height: 100%;
    float: right;
    margin-right: 20px;
    line-height: 70px;
}
.coupon_first .coupon_top .coupon_top_right button{
    text-decoration: underline;
}
.coupon_footer{
    width: 100%;
    height: 20px;
    border: 1px solid gainsboro;
}
.coupon_footer span{
    font-size: 10px;
    color: #605656;
}
/*右侧说明*/
.main .main_right{
    border: 1px dashed gainsboro;
    width: 30%;
    height: 340px;
    float: right;
    margin-top: 36px;
    border-radius: 10px;
}
.main_right_owe{
    width: 90%;
    height: 140px;
    margin: auto;
    padding-top: 10px;
}
.main_right_tow{
    width: 90%;
    height: 200px;
    margin: auto;
}
.main_right_owe label,.main_right_tow label{
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #383434;
}
.main_right_owe ul{
    width: 100%;
    height:100px;
}
.main_right_owe li{
    width: 100%;
    height: 25px;
    color: #605656;
    font-size: 8px;
}
.main_right_tow p{
    width: 100%;
    height: 160px;
    color: #605656;
    font-size: 8px;
}

